Quantifying the risks of applications for mobile devices

ABSTRACT

Quantifying the risks of applications (“apps”) for mobile devices is disclosed. In some embodiments, quantifying the risks of apps for mobile devices includes receiving an application for a mobile device; performing an automated analysis of the application based on a risk profile; and generating a risk score based on the automated analysis of the application based on the risk profile.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent applicationSer. No. 14/541,001, entitled QUANTIFYING THE RISKS OF APPLICATIONS FORMOBILE DEVICES, filed Nov. 13, 2014, which is a continuation of U.S.patent application Ser. No. 14/205,220, now U.S. Pat. No. 8,918,882,entitled QUANTIFYING THE RISKS OF APPLICATIONS FOR MOBILE DEVICES, filedMar. 11, 2014, which is a continuation of U.S. application Ser. No.13/740,036, now U.S. Pat. No. 8,713,684, entitled QUANTIFYING THE RISKSOF APPLICATIONS FOR MOBILE DEVICES, filed Jan. 11, 2013, which claimspriority to U.S. Provisional Patent Application No. 61/603,134, entitledQUANTIFYING THE RISKS OF APPLICATIONS, filed Feb. 24, 2012, all of whichare incorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

An application, also referred to as an “app,” generally refers to asoftware application that executes on a computing device, such as amobile device. For example, mobile devices include smart phones,tablets, laptops, and/or other mobile devices. Various applicationplatforms exist for different operating systems, such as MicrosoftWindows® platforms, Google Android® platforms, and Apple iOS® platforms.Application markets exist for each of these application platforms, whichcan make available thousands to millions of different apps for suchplatforms.

For example, various apps are available for executing on smart phonessuch as the HTC EVO® or Apple iPhone®, tablets such as the MotorolaXoom® or Apple iPad®, embedded devices executing the Google Android®operating system such as those shipped by Mentor Graphics and theirpartners, and computer operating systems such as Apple Mac OS X® andMicrosoft Windows 8®.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the followingdetailed description and the accompanying drawings.

FIG. 1 is a functional block diagram of an architecture for quantifyingthe risks of applications (“apps”) for mobile devices in accordance withsome embodiments.

FIG. 2 is a flow diagram for quantifying the risks of apps for mobiledevices in accordance with some embodiments.

FIG. 3 is another functional block diagram of an architecture forquantifying the risks of apps for mobile devices in accordance with someembodiments.

FIG. 4 is a screen diagram of an apps view of a user interface for aplatform for quantifying risks of apps for mobile devices in accordancewith some embodiments.

FIG. 5 is a screen diagram of a detailed report for an app analyzed bythe platform for quantifying the risks of apps for mobile devices inaccordance with some embodiments.

FIG. 6 is a flow diagram for quantifying the risks of apps for mobiledevices in accordance with some embodiments.

FIG. 7 is another flow diagram for quantifying the risks of apps formobile devices in accordance with some embodiments.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as aprocess; an apparatus; a system; a composition of matter; a computerprogram product embodied on a computer readable storage medium; and/or aprocessor, such as a processor configured to execute instructions storedon and/or provided by a memory coupled to the processor. In thisspecification, these implementations, or any other form that theinvention may take, may be referred to as techniques. In general, theorder of the steps of disclosed processes may be altered within thescope of the invention. Unless stated otherwise, a component such as aprocessor or a memory described as being configured to perform a taskmay be implemented as a general component that is temporarily configuredto perform the task at a given time or a specific component that ismanufactured to perform the task. As used herein, the term ‘processor’refers to one or more devices, circuits, and/or processing coresconfigured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention isprovided below along with accompanying figures that illustrate theprinciples of the invention. The invention is described in connectionwith such embodiments, but the invention is not limited to anyembodiment. The scope of the invention is limited only by the claims andthe invention encompasses numerous alternatives, modifications andequivalents. Numerous specific details are set forth in the followingdescription in order to provide a thorough understanding of theinvention. These details are provided for the purpose of example and theinvention may be practiced according to the claims without some or allof these specific details. For the purpose of clarity, technicalmaterial that is known in the technical fields related to the inventionhas not been described in detail so that the invention is notunnecessarily obscured.

An application, also referred to as an “app,” generally refers to asoftware application that executes on a computing device, such as amobile device (e.g., a mobile device refers to a computing device thatincludes a processor for executing a software application). For example,mobile devices include smart phones, tablets, laptops, and/or othermobile devices. Various application platforms exist for differentoperating systems, such as Microsoft Windows® platforms, Google Android®platforms, and Apple iOS® platforms. Application markets (e.g., appstores) exist for each of these application platforms, which can makeavailable thousands to millions of different apps for such platforms.

For example, various apps are available for executing on smart phonessuch as the HTC EVO® or Apple iPhone®, tablets such as the MotorolaXoom® or Apple iPad®, embedded devices executing the Google Android®operating system such as those shipped by Mentor Graphics and theirpartners, and computer operating systems such as Apple Mac OS X® andMicrosoft Windows 8®.

Also, as these operating system platforms for mobile devices convergewith legacy computer desktop and laptop operating system platforms(e.g., Microsoft Windows® 8 and Apple Mac OS X®), similar app marketsand availability of common apps across such platforms are becomingincreasingly common.

With hundreds of thousands to millions of different apps for suchplatforms available to consumers, enterprises (e.g., various entities,including corporate entities, government entities, and other entities)are confronted with supporting and/or managing these various devicesthat can have a variety of such apps on users' devices. Enterprisechallenges include the increasing usage by, for example, employees oftheir own devices (e.g., bring your own devices (“BYOD”) to work) thatcan have access to corporate resources (e.g., employee smart phones,tablets, etc.). The ever growing number and variety of apps also poses asignificant challenge for entities to manage and monitor thedownloading, installation, and usage of such apps by users on devicesthat can have access to corporate resources.

However, the trend towards using these apps for enterprise uses and/oron devices that may have enterprise access also presents new and complexchallenges for enterprises (e.g., Information Technology (IT) atenterprises and/or management for such enterprise's information andtechnology) and for consumers to understand risks posed by such apps. Inparticular, these apps can present various risks to the enterpriseand/or users.

For example, apps can have access to enterprise resources, such as acorporate address book, corporate intellectual property, corporate Wi-Finetwork(s), VPN access, and/or various other enterprise resources.Because apps can have access to corporate resources, it is desirable forthe enterprise to understand and quantify the risks associated with appsthat have been downloaded or can be downloaded to devices used by, forexample, employees of the entity or other users who have access to anyenterprise resources (e.g., on the mobile device and/or on theenterprise network).

Mobile devices present unique challenges as a majority or significantamount of the mobile malware and risky behaviors are delivered throughapps (e.g., payloads with apps). In particular, app markets expose theundesirable trends of increasing malware present in various apps orvulnerabilities of such apps that can be exploited by malware orsophisticated attacks (e.g., intrusions, etc.), privacy risks (e.g.,spyware or other malware), resource usage (e.g., CPU, memory, storage,battery, network, and/or other physical device resources), and/or otherintellectual property related risks (e.g., data loss, intellectualproperty theft, etc.) exposed by such apps and/or vulnerabilitiespresent in such apps. As the app market evolves and sophistication ofthe security risks increase, the approach of only using blacklists isgenerally insufficient to address these evolving security relatedchallenges of apps for mobile devices.

What are needed are techniques for analyzing apps and reporting on risksassociated with such apps. Accordingly, quantifying the risks ofapplications (“apps”) for mobile devices is disclosed. In someembodiments, quantifying the risks of apps for mobile devices includesreceiving an application for a mobile device; performing an automatedanalysis of the application based on a risk profile; and generating arisk score based on the automated analysis of the application based onthe risk profile.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application is risky (e.g., asecurity risk) based on the risk score. In some embodiments, quantifyingthe risks of apps for mobile devices further includes reporting the riskscore.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application is in violation ofa policy. In some embodiments, quantifying the risks of apps for mobiledevices further includes determining a reputation associated with theapplication. For example, determining a reputation associated with theapplication can be based on a vendor or distributor associated with theapplication and/or other criteria (e.g., using collective appintelligence techniques as described herein).

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes performing a static analysis on the application duringthe automated analysis of the application based on the risk profile. Insome embodiments, quantifying the risks of apps for mobile devicesfurther includes performing a dynamic analysis on the application duringthe automated analysis of the application based on the risk profile. Forexample, performing the dynamic analysis can include simulating aplurality of behaviors of the application during execution on a mobiledevice platform.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes customizing the risk score based on a customized riskscoring profile. For example, the customized risk scoring profile can becustomized for a particular enterprise, which defines various criteriafor their app risk scoring profile.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performs anymalicious, suspicious, and/or unauthorized or undesirable behaviors.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized network usage.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized data usage.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized voice usage.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized text messaging.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized phone calls.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized location tracking.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized identification of user(s).

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performsunauthorized usage of device features or functions (e.g., unauthorizedusage of device cameras/video functionality, GPS functionality, Wi-Fi orhot spot functionality, etc.).

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application performs activitiesthat are beyond user permissions (e.g., user configured permissionsettings).

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes determining whether the application requests userpermissions for activities that are not performed.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes associating a risk factor based on collectiveintelligence that is associated with the application.

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes analyzing apps and generating an assessment of therisk(s) associated with the apps, in which the assessment can beprovided to partners, customers (e.g., enterprises, device users, etc.),app developers, and/or app markets (e.g., as a data feed for subscribersof an app risk assessment service).

In some embodiments, quantifying the risks of apps for mobile devicesfurther includes performing a plurality of analysis techniques todetermine if apps present any risks (e.g., using a cloud-based platformfor quantifying the risks of apps for mobile devices that implements aphased approach to risk assessment of apps for mobile devices),including, for example, performing one or more of the following:disassembly, decompilation, instrumented emulation, URL and IPreputation associated with the app, malware detection, andbehavior-based analysis.

For example, ACME Corporation has hundreds or thousands of employees.Some employees of ACME Corporation use various company issued mobiledevices, such as laptops. Many employees of ACME Corporation also usetheir own personal mobile devices, such as smart phones and/or tabletsto access various corporate Information Technology (IT) resources,including the corporate network (e.g., wireless network), email,contacts/directory information, and/or calendar information (e.g.,available through Microsoft Outlook or other similar software tools).The corporate IT team at ACME Corporation wants to provide an enterprisemanaged app store, which can be used by their employees (e.g., and/orcontractors, and/or others associated with ACME Corporation) to downloadand install apps to their mobile devices. Also, many employees of ACMECorporation bring their own mobile devices to work to use for workpurposes as well as personal purposes (e.g., BYOD to work, which isbecoming increasingly common as companies allow their users to selectand often purchase their own smart phones, tablets, laptops, etc. thatcan then be configured to access corporate IT resources, such as email,calendar, contacts, networks, files, etc.). However, the corporate ITteam needs to be able to have an efficient and reliable solution forensuring that the apps that are in the enterprise app store meet theenterprise's requirements for apps, such as security, privacy, and/orother requirements. The platform for quantifying the risks of apps formobile devices described below with respect to FIG. 1 provides anefficient and reliable solution for ensuring that the apps that areavailable in the enterprise app store meet the ACME Corporation'srequirements for apps, such as security, privacy, and/or otherrequirements, as described further below.

As an example, Bob, who is an employee of ACME Corporation, has an AppleiPhone® smart phone that can download apps for the Apple iOS® platform.The corporate IT team for ACME Corporation can configure a customprofile that can be used by the platform to report on apps available forthe Apple iOS® platform to automatically determine whether such appsshould be available in the enterprise app store or not (e.g., to analyzeapps for risks based on an enterprise policy for ACME Corporation, toblock risky apps based on their policy to protect data and privacy frombeing available in their enterprise app store or enterprise app catalog,while still facilitating availability of apps that are acceptable basedon their enterprise policy and support their business needs). Asexamples, the corporate IT team for ACME Corporation can disallow anyapps that can perform any of the following: (1) attempt to accesscontacts without user permission; (2) attempt to access locationinformation without user permission; and (3) attempt to send SMS/textmessages without user permission, in which any such apps that includeany of these attributes can be removed and disallowed from beingavailable in the enterprise app store. Various other examples formonitoring apps for various mobile device platforms are described belowin further detail with respect to various embodiments.

Accordingly, using the platform for quantifying the risks of apps formobile devices can facilitate the corporate IT team for ACME Corporationto maintain an enterprise App store that only includes apps that havebeen analyzed and satisfy certain app risk assessments based on standardand/or enterprise configured criteria (e.g., security risks, privacyrisks, protect against app-level targeted attacks, corporate dataexfiltration, and intellectual property exposure, etc.) to therebycentrally manage app inventory for its users (e.g., based on a corporatepolicy, such as an enterprise app risk profile and requirements for ACMECorporation) using cloud-based (e.g., off device) techniques.

FIG. 1 is a functional block diagram of an architecture for quantifyingthe risks of applications (“apps”) for mobile devices in accordance withsome embodiments. As shown, a platform 116 is provided for quantifyingthe risks of apps for mobile devices that is in communication with anenterprise network 126 via the Internet 130. The enterprise network 126includes an enterprise app store 118 (e.g., an enterprise that has itsown internal app store for providing apps for mobile devices used by itsusers, such as its employees, contractors, etc.) that provides apps forenterprise mobile devices, including smart phones 120, tablets 122,and/or other mobile devices 124 (e.g., laptops, etc.). For example,using the various techniques described herein, the platform 116 can beused to automatically assess the risks of apps being distributed by theenterprise app store 118 (e.g., based on a policy, such as an enterpriserisk policy/profile). Accordingly, the platform 116 screens all appsthat are available in the enterprise app store 118.

In some embodiments, the platform 116 implements a holistic approach toscreening apps, and can automatically analyze apps for mobile devices todetermine various properties, such as one or more of the following:market reputation of the app; presence of malware; insecure programmingpractices; malicious changes to existing apps; data exfiltration;corporate intellectual property (IP) impacts; cryptographic weakness orimplementation faults; security risks; privacy concerns (e.g., locationtracking, extracting contact book, sharing browsing history, etc.);energy usage (e.g., CPU cycles measured and compared with apps insimilar categories or other versions of the same app, such as Facebookapp version X v. version Y); and network usage. For example, thesetechniques performed by the platform 116 can be implemented as a fullyautomated solution for quantifying the risks of apps for mobile devicesthat can increase the detection of known malware, screen for new and/orunknown malware, identify risks in operating systems (e.g., includingthe Google Android® operating system and the Apple iOS® operatingsystem), and can integrate with a mobile device management (MDM), appstore, and integrated development environment (IDE) solutions.

In some embodiments, the platform 116 implements the holistic approachto screening apps using a phased implementation to risk assessment ofapps for mobile devices. As shown, the platform 116 includes acloud-based platform 102. For example, the cloud-based platform 102 canprovide a global app cache (e.g., the platform 116 can service aplurality of enterprise app stores), including an app cache 128 forcaching results for previously analyzed apps as shown in FIG. 1. Thecloud-based platform 102 is in communication with a series of datacollection engines, including: a disassembly engine 104, a decompilationengine 106, an instrumented emulation engine 108, a URL and IPreputation engine 110, a malware detection engine 112, and abehavior-based analysis engine 114. For example, the platform caninclude various engines, such as shown, for performing various functionsand collecting various data based on the functions, which can be usedfor later app risk assessment and analysis as well as shared with one ormore of the various other engines, such as described herein with respectto various embodiments.

In some embodiments, the platform 116 for quantifying the risk of appshas the following characteristics: varying a number of phases of datacollection and analysis, depending upon the platform and type of app; aseries of phases of analysis that run, for purposes of collecting data,followed by a collection of rules that then process the collected data;rules that identify behaviors, characteristics, or properties, whichpresent risks to the enterprise or consumer; and a report generationphase, in which the relevant findings/results from the rules executionphase are reported to end users (e.g., the enterprise and consumers).

FIG. 2 is a flow diagram for quantifying the risks of apps for mobiledevices in accordance with some embodiments. In some embodiments, aplatform for quantifying the risks of apps for mobile devices implementsa phased approach to risk assessment of apps for mobile devices. In someembodiments, the phased approach includes one or more of the phases asshown in FIG. 2 and discussed in detail below. In some embodiments, theplatform for quantifying the risks of apps for mobile devices uses aseries of data collection engines for implementing the phased approach,such as shown in FIG. 1.

In some embodiments, an app query to the platform for quantifying therisks of apps for mobile devices initiates the process. For example, anenterprise app store (e.g., enterprise app store 118 as shown in FIG. 1,which can be implemented using a commercially available MDM solution)can communicate with a cloud service/web platform for quantifying therisks of apps for mobile devices (e.g., platform 116 as shown in FIG. 1)using a web service (e.g., RESTful web API or REST API) to communicatean app (e.g., one or more apps for the enterprise app store) that is tobe automatically analyzed for a risk assessment by the cloudservice/platform. In some embodiments, the Rest API supports auth tokensfor providing authorization and authentication of such app queries toprovide a secure communication mechanism. At 202, in response to the appquery, a pre-screen analysis phase is performed that includes checkingan app cache (e.g., a cache that includes information for apps that werepreviously analyzed by the platform). In some embodiments, if theplatform has already analyzed that app (e.g., that particular version ofthe app), then the previously determined risk score (e.g., appreputation score and possible additional data) is returned (e.g., atnear wire speed). This approach highlights the value of pre-screeningapps (e.g., several hundreds of thousands of apps can have already beenpre-screened by the platform using these techniques).

In some embodiments, after uploading an application (e.g., an Appcontainer) using the Rest API, an application ID number is returned. Forexample, the application ID number can be used as a key to view theresults or to perform more advanced analysis. In some embodiments,various fields are used including the following: an application datafield is used to identify the app file; and an origin field is used toset the source (e.g., origin) of an app. For example, the origin fieldcan be set to “public” or “private” depending on where the applicationcame from, with “public” indicating that the app is from a public source(e.g., a public app store) and “private” indicating that the app isprimarily used internally and not meant for general consumption. Amongother restrictions, apps marked as private can be hidden from global appcache queries.

In some embodiments, the returned app ID can be used for subsequentqueries based on the app ID, such as for reports based on one or moreprovided App IDs (e.g., individual app query—reporting on an individualapp based on a request to find a specified app in the global cache, bulkapp query—reporting on a plurality of apps based on a bulk request tofind apps in the global cache, updated reports, and/or more advancedreports). In some embodiments, polling is supported to determine whenthe platform has completed the analysis of an app (e.g., based on aspecified app ID) and that a report is ready based on the completedanalysis by the platform. In some embodiments, querying (e.g., using theRest API) the platform to find applications that have already beenanalyzed by the platform and are stored in the global app cache (e.g.,app cache 128 as shown in FIG. 1) are supported (e.g., comparing an appfile hash to hash stored in the global app cache, querying by the appname, and/or using various other techniques), as described in furtherdetail below.

In some embodiments, such app queries will have already been analyzed bythe platform and, thus, will trigger a near wire speed response to suchapp queries. In particular, in many cases the app will already be partof the app cache (e.g., app cache 128 as shown in FIG. 1) and alreadyanalyzed. In some embodiments, to check if the app is already in the appcache, all that is needed is a hash of the application (e.g., using ahashing algorithm, such as MD5, SHA-1, SHA-256, or another hashingalgorithm) to query the app cache for a match.

In some embodiments, an app query specifies one or more of thefollowing: a unique ID for the transaction, a match type (e.g., all toreturn all app matches, latest to return a newest app match), platform(e.g., Google Android platform, Apple iOS platform, Microsoft Windowsplatform, etc.), app name, app version, package name (e.g., package namefor Android apps, bundle identifier for iOS apps), source of the app(e.g., enterprise or device), app size (e.g., Android APK file size, iOSbundle size), app size memory (e.g., iOS dynamic size), app hash (e.g.,such as MD5, SHA-1, SHA-256, or another hashing algorithm), appsignature (e.g., a signature for Android apps), item ID (e.g., iOS9-digit number specific to iOS apps, Android Market asset ID for Androidapps), and local (e.g., specifying the language of the report data).

Below is an example query to the platform from an app catalog (e.g., anapp store, such as an enterprise app store).

API Name: query_app API Description: queries one individual app, returnsone result; does not require a sequence number; similar format tobulk_query_app; can produce findings based on incomplete metadata Typeof HTTP call: POST Parameters: [0 required, 13 optional] - sequence_num(optional) (a unique ID for the transaction) - platform (optional){Android, iOS, Windows, etc.} - app_name (optional) (Name of the app) -app_version (optional) (Version of the app) - package (optional)(Package name for Android apps; Bundle Identifier for iOS apps [may bereferred to as URL/URIs]) - app_location_source (optional) { enterprise,device } - app_size_disk (optional) (Android APK file size; iOS BundleSize) - app_size_memory (optional) (C Dynamic Size) - app_hash_md5(optional) (MD5 of the APK/XAP file itself; on iOS, MD5 of the appexecutable, which is contained within the IPA [ZIP] archive) -app_hash_sha1 (optional) (SHA-1 of the APK/XAP file itself; on iOS,SHA-1 of the app executable, which is contained within the IPA [ZIP]archive) - app_hash_sha256 (optional) (SHA256 of the APK/XAP fileitself; on iOS, SHA256 of the app executable, which is contained withinthe IPA [ZIP] archive) - app_signature (optional) (Specific to Android,looks like: ZdKozWeudHKt2VwVCFpH7dMi2hE) - item_id (optional) (9-digit #that is specific to iOS apps; on Android Market asset id)

The above example is an example of querying one individual app. Asfurther described herein with respect to various embodiments, theplatform also supports “bulk queries” whereby, for example, a customer(e.g., an app store/app catalog, the MDM server, the MAM app catalog,etc.) can submit to the app risk assessment platform the metadata on aplurality of apps (e.g., hundreds to thousands of apps at a time), andthe platform replies with the results for each of the analyzed apps.

In some embodiments, a customer of the service for quantifying the risksof apps for mobile devices can query the platform as described herein.In some embodiments, each customer can create users for theorganization, which may have varying permissions. For example, thecorporate IT team of ACME Corporation can have one or more users thathave accounts with access to the platform. The corporate IT team canalso configure their account to have specific IT requirements for appsscanned on behalf of ACME Corporation (e.g., custom scanning, and/orcustom reporting requirements, such as based on security requirements,privacy requirements, and/or various other criteria as describedherein). The corporate IT team can also create scripts thatautomatically query the platform for reports on apps being consideredfor adding to the enterprise app store, including existing apps (e.g.,previously scanned apps), updated versions of existing apps, and/or newapps. Using these techniques, the corporate IT team can effectivelymanage the enterprise app store to ensure that the apps available in theenterprise app store satisfy their corporate IT requirements (e.g.,security, privacy, device integrity, network integrity, etc.).

In particular, if the app already exists in the app cache (i.e., thereis a match to the query of the app cache), then the pre-existing app IDwill be returned. Otherwise, that is, if the app cache check does notresult in a match or hit, then processing continues to stage 204, whichis discussed below.

In some embodiments, a phased analysis is performed by the platform forquantifying the risks of apps for mobile devices, in which data iscollected at each phase or stage of analysis by the platform for a givenapp being analyzed for a risk assessment. At 204, metadata associatedwith the app is extracted. In particular, metadata associated with theapp can include information that is important for assessing the overallrisk(s) associated with the app. For example, this phase can includeparsing an XML file associated with the app that hosts general appinformation. Metadata associated with the app that can be analyzedincludes app permissions, intents, services, and receivers. Inparticular, this phase can include mapping out app permissions, file andversion name, app author, app ID, package name, and/or various otherattributes and/or metadata associated with the app. In some embodiments,this stage further includes inspecting app components includingaccepting a component of an app, such as a metadata file or anexecutable image, absent in the remainder of the app, to analyze andgenerate any potential findings based on the parsed and analyzedmetadata associated with the component of the app. As discussed furtherbelow with respect to stage 206, metadata associated with finding theapp on the public and/or private app markets includes artist andpublisher information, item IDs, genre IDs or categories, price forpurchasing the app, release date of the app (e.g., app version),software version external identifiers, and vendor ID.

At 206, a query of public app market data for the app is performed. Inparticular, querying the public market(s) for data on the app canfacilitate significant information about an app's risk based on ananalysis of the public market data identified as associated with the app(e.g., using app descriptions, app rankings in the store, vendorreputations, and/or various other types of information). For example,various app attributes and/or metadata can be compared with such datafor apps in public app markets. In particular, public app markets aregenerally available to consumers, such as Apple's App Store, Amazon'sand Google's Android App Market, Microsoft's App Store, and other publicapp stores, unlike enterprise app markets which are generally onlyavailable to permitted enterprise users, such as enterprise employeesand contractors. In some embodiments, the query of public app marketdata includes the following types of data (e.g., to facilitate analyzingwhether such enterprise apps being analyzed have been repackaged withmalware, such as a different version of an Angry Birds® app that hasbeen re-packaged with malware): app size, content, version, and/orvarious other types of data. In some embodiments, analytics areperformed on the app download count, user ratings, and developerreputation data. For example, for Android-based apps, each app'smanifest can be deobfuscated (e.g., using Android APIs) and parsed toextract information of interest and for further analysis, as describedabove.

There are various examples in which this phase for querying of publicapp market data for the app can assist in determining an overall riskassessment for the app. As an example, a source of the app (e.g., whichapp market or app markets it's available from) can have an impact on anoverall app risk, because some app markets are known to be riskier thanother app markets. As another example, a new app with fewer downloadscan have a higher risk than an older app with a larger number ofdownloads. As another example, an app developer's reputation can alsohave an impact on an overall app risk assessment. As another example, anaverage user rating can also have an impact on overall app riskassessment.

As another example, an app's file name, version, and app size can becompared between the publicly available app and the app submitted by theenterprise. If these fields vary, then these results indicate that theapp may have been repackaged, which can also have an impact on overallapp risk assessment (e.g., as such can indicate that the app could havebeen repackaged with a higher app risk). As another example, given thatapps are typically signed by a developer with a private key and includeinformation on who created the key, if an app is signed and includesdifferent information than the publicly available app, thisdetermination can also have an impact on overall app risk assessment(e.g., as such, can also indicate that the app could have beenrepackaged with a higher app risk).

In some embodiments, an app is uniquely identified using varioustechniques. For example, a hash of the app file (e.g., for Android appfiles, this can be a hash of the container; for iOS app files, this canbe a hash of a .ipa file, which is an iPhone application archive filethat stores an iPhone app, which is usually encrypted with Apple'sFairPlay DRM technology), a hash of the executable, and/or a bundle IDcan be used to uniquely identify each app. As an example, thisinformation can be used to compare an app received in a query to theplatform to compare it with previously analyzed apps to determine ifthere is a match with the previously analyzed apps.

In some embodiments, the platform attempts to correlate apps for theApple iOS® operating system that are received (e.g., from app queries,for apps that are in enterprise app stores and/or are uploaded byusers/customers) with apps that have been pre-collected by the platformand that have already been uploaded and analyzed by the platform. Asdiscussed above, iOS-based apps generally include an executable program.In some embodiments, the platform decrypts any such executables includedin an iOS-based app prior to uploading them. For example, if a usersubmits an app from the App Store that includes an encrypted executable,it would not normally match a previously uploaded app, as that app'sexecutable would have been decrypted and, thus, would not be the same.In some embodiments, to solve this problem, the platform performs aseries of comparisons, including the following: hashing thepre-collected app (e.g., the app container, including all contents), andcomparing this to a hash of the newly uploaded app. If this hashmatches, no further work is required. If a match is not made, then theexecutables for both the new and pre-existing apps are compared. Forexample, to make comparison of executables more likely to succeed, theplatform can save the hash for both the encrypted as well as theunencrypted executable for every pre-collected app, and can then comparea hash of the newly uploaded app's executable to both of these values.If there is a match, then no further work is required. Otherwise,metadata from both apps including the app's “bundle identifier” andversion can be compared, and if a match is made, no further work isrequired. Accordingly, using these three different matching techniques,it is possible to reliably match newly uploaded apps to apps previouslyuploaded to the platform, whether their executables re-encrypted or not.

In some embodiments, handling of DRM-related mechanisms, such asexecutable image encryption, is also provided using various techniques.In particular, if an app that is received by the platform is encryptedusing DRM technology (e.g., apps for the iOS platform can be encryptedusing DRM technology), then various approaches can be used to facilitateprocessing the app using the various phases and collection/analysisengines described herein with respect to various embodiments. In someembodiments, the platform can handle the encryption of apps in one of avariety of ways. An example technique that the platform can perform isto correlate the encrypted app with an unencrypted version of the app tomatch the app with such an unencrypted version of the app, such as basedon the digital signature (e.g., a hash, such as using MD5, SHA-1,SHA-256, or another hashing algorithm) of the encrypted executable imageof the app. As another technique, the platform can also decrypt theencrypted app on native hardware (e.g., leverage one or more iOS devicesthat have previously been jail broken to decrypt the apps natively atrun-time). As yet another technique, the platform can decrypt theencrypted app using pure software decryption leveraging private keysfrom the operating system or native hardware.

At 208, a disassembly/byte code pass of the app is performed to providea static analysis phase (e.g., as apps are typically provided by theenterprise app stores/public app stores only in executable formats). Insome embodiments, a disassembly/byte code pass phase is performed usinga disassembler, such as a disassembly engine (e.g., disassembly engine104 as shown in FIG. 1). In some embodiments, a disassembly/byte codepass phase includes inspecting byte code or assembly language (e.g., ifapplicable) to determine what the app is supposed to do—how it is codedto perform. For example, native instructions and virtual machine (VM)byte codes can be processed and analyzed. In some embodiments, thisphase includes extracting a control flow graph, method and functionnames, strings, data flow within the app's executable, and/or otherinformation to facilitate a static analysis and/or to facilitateproviding a source code conversion for the app, as discussed below indetail with respect to stage 210. For example, app methods, such asencryption methods, can be analyzed for risky behaviors (e.g., usinghard-coded passwords to protect private data or calling methods withrisky encryption algorithms). As another example, the static analysisphase can include determining whether certain behaviors are implementedby the app (e.g., performing an operation without user permission, suchas sending text/SMS messages without a user's permission, usingGPS/location services without a user's permission, and/or various otherbehaviors of potential interest, such as those described herein withrespect to various embodiments). As yet another example, nativeinstructions and VM byte codes can be processed and analyzed, and suchcan also be used to facilitate a source code conversion (e.g.,decompilation phase) as further discussed below in detail with respectto stage 210.

At 210, a decompilation phase is performed to facilitate generating asource code version of the app (e.g., apps are typically provided by theenterprise app stores/public app stores only in executable formats). Insome embodiments, a decompilation phase is performed using adecompilation engine (e.g., decompilation engine 106 as shown in FIG.1). In some embodiments, the decompilation phase includes analyzing asoftware code path and mapping an app action tree. For example, thisinformation can be used to facilitate dynamic analysis using suchbehavior code path information determined from the source code analysis.For example, this information can be used to compare actual behaviors topermission and intent requests. As another example, the dynamic analysisphase can include simulated behavior to monitor the app's behavior fordetermining whether certain behaviors are performed by the app (e.g.,performing an operation without user permission, such as sendingtext/SMS messages by monitoring/intercepting attempts to send SMSmessages, such as by hooking SMS calls in an Android framework forAndroid-based apps, and/or various other behaviors of potentialinterest, such as those described herein with respect to variousembodiments). As yet another example, app analysis can also includeperforming decompilation (e.g., in the case of Android, java files) toidentify risky behaviors, such as risky usage of private data and appusage of known risky method calls. In addition, such information canalso be used by researchers to easily read and create new rules when anapp is flagged as potentially risky.

In some embodiments, a web-based crawling engine for web apps isprovided. In some embodiments, this technique includes running through aweb-based code coverage tree and testing out available behaviors fromthe web app. Data is collected during the process so that behavioralrules can be applied to the data findings. Initially, the processenumerates through the web application (crawling), in the form of adiscovery phase, to spider the web application looking for as manypossible code paths in the tree as possible. Then the dynamic analysisis leveraged and fuzzing occurs (e.g., using a series of engines andrule sets) to find vulnerabilities, risk behaviors, and privacy concernsin the web application.

At 212, a run-time emulation is performed to provide a dynamic analysisphase (e.g., performing dynamic analysis using instrumented emulation).In some embodiments, a run-time emulation phase is performed using aninstrumented emulation engine (e.g., instrumented emulation engine 108as shown in FIG. 1). In some embodiments, the run-time emulation phaseincludes executing the app on one or more emulators (e.g., virtualmachines or emulators, such as a platform version of Android providedusing such emulators that simulate an Android app execution environment,in which apps executed in such an environment cannot detect that theyare executing in an Android emulation environment as opposed toexecuting on an actual user's Android mobile device). For example, thedynamic analysis phase can monitor and analyze internal and external appAPI calls, including kernel level API calls. The dynamic analysis phasefacilitates performing a deeper dive into risky behaviors that otherwisecan be hidden from a static analysis (e.g., such as new components beingdownloaded during run-time/execution of the app and/or other suspiciousand/or potentially malicious behaviors).

In some embodiments, a dynamic analysis (e.g., instrumented emulation)includes hosting a series (e.g., farm) of emulators, in whichinstrumenting as part of our analysis is provided. On some platforms,these are forked versions of open source operating systems, in which APIhooks into the kernel, virtual machine, system calls, etc. are providedto monitor the apps executed in the emulated environment. On someplatforms, a custom kernel and re-implemented standard libraries areused to allow the closed-source operating system apps to monitor theapps executed in the emulated environment. On some platforms, hookingand performing binary patching on “simulators” to monitor the apps areexecuted in the emulated environment. Once the app is executing in theemulated environment, the dynamic analysis phase collects data on APIcalls that occur (e.g., and the values returned from those APIs), sothat a rule set can be applied to that data set. For example,correlating API calls to permissions can be determined using variousstatic and dynamic techniques described herein to determine whether theapp exhibits any behaviors that exceed or are outside the scope ofauthorizations—proper user permissions. In some embodiments, the appsare instrumented during run-time execution using a combination of one ormore of the following: random behaviors, intents from other apps, andcontrol flow graph(s) maps that attempt to reach certain API calls.

At 214, a comparison with collective app intelligence is performed toprovide an app reputation phase. In some embodiments, a comparison withcollective app intelligence phase is performed using a URL and IPreputation engine (e.g., URL and IP reputation engine 110 as shown inFIG. 1). For example, the collective app intelligence engine can monitorand extract information (e.g., scraping such information from thesevarious app markets/app stores) on various apps and associated appdevelopers across public (e.g., legitimate markets for apps) markets andprivate (e.g., grey/black markets for apps), which can be used tocompare apps between such various markets, including with versions ofapps on private app markets. In some embodiments, the app reputationphase includes running new app findings over an entire app library.Thus, this phase facilitates leveraging findings from previous apps to anew scan. In some embodiments, collective app intelligence can includereceiving third party analysis input, such as third party inputidentifying known bad or suspicious IP addresses, URL addresses, SMSnumbers, telephone numbers, ad network providers, apps, app developers,app stores, and/or any other information. In some embodiments, the appreputation phase includes comparing reputation data for IP addresses(e.g., the IP reputation, such as IP addresses known to be associatedwith downloading malware and/or IP addresses known to be associated withcommand and control (C&C) botnet activities), URL/URI addresses (e.g.,the URL/URI reputation, such as URL/URI addresses known to be associatedwith downloading malware and/or URL/URI addresses known to be associatedwith command and control (C&C) botnet activities), SMS numbers (e.g.,SMS number blacklists), telephone numbers (e.g., telephone numberblacklists), ad network providers, and other external calls and/or otherinformation associated with apps. Accordingly, the app reputation phaseallows the automated platform to become more and more intelligent witheach new app scan as it continues to increase its knowledge about apps,app developers, ad network providers, and related information.

At 216, a rule set analysis is performed to provide a malware detectionphase and a behavior-based analysis phase. In some embodiments, amalware detection phase and a behavior-based analysis phase areperformed using a malware detection engine and a behavior-based analysisengine (e.g., malware detection engine 112 and behavior-based analysisengine 114 as shown in FIG. 1). In some embodiments, the behavior-basedanalysis phase includes running data extracted over each phase ofanalysis through an extensive set of behavioral rules. Thebehavior-based analysis phase can be used to determine if the appincludes previously known malware, exhibits new malware behaviors,and/or if the app otherwise poses a risk, (e.g., privacy, security, orother risks). In some embodiments, enterprise specific (e.g., custom)rules are performed (e.g., enterprise defined risks, based on anenterprise risk profile). For example, enterprise specific (e.g.,custom) rules can include checks for HIPAA compliance for healthcareapps, checks for encryption requirements for data management, andvarious other types of enterprise specific rules.

In some embodiments, using these phases, a series of data collectionengines provided by the platform can extract relevant data about theapp, which is then fed to a rules engine. The rules engine extractsrelevant data from the information discovered by the other engines forfurther analysis, processing, and/or as input into an overall riskassessment based on an applicable risk profile.

At 218, an app risk assessment report is generated based on the riskassessment for the analyzed app or a bulk set of apps. In someembodiments, the app risk assessment report is generated for thecustomer based on a risk profile (e.g., an app risk policy) and generalor default reporting requirements. In some embodiments, the app riskassessment report is generated for the customer based on an enterpriserisk profile (e.g., enterprise customized app risk policy) and/orcustomized reporting requirements. In some embodiments, the app riskassessment includes various summary findings as well as supporting data.For example, the app risk assessment can include an app reputation scoreand/or other relevant or supporting data.

In some embodiments, the app risk assessment report is generated as aHyperText Markup Language (HTML) report. In some embodiments, the apprisk assessment report is generated as a JavaScript Object Notation(JSON) report. In some embodiments, the app risk assessment report isgenerated in a format specified by a custom enterprise profile. Forexample, ACME Corporation can configure their reports to beautomatically generated as a JSON report. As another example, Jane, whois in corporate IT for ACME Corporation, can configure her reports to beprovided as HTML reports, and Mary, who is also in corporate IT for ACMECorporation, can configure her reports to be provided as JSON reports.Various other customizations for reporting format and categories ofinformation can also be provided.

As discussed above, the platform for quantifying the risks of apps formobile devices uses a series of data collection engines (e.g., as shownin FIG. 1) for implementing the phased approach. For example, using theseries of data collection engines for collecting various data, such asdiscussed above, various new rules can be applied to extract interestingbehaviors or characteristics in apps for performing a risk assessment ofsuch apps.

In some embodiments, the phased approach facilitates implementing afeedback loop in which information determined during one phase canaffect actions performed in a different phase. For example, informationlearned from a static analysis phase can affect activities performed ina dynamic phase. For example, if the static analysis phase for a givenapp includes library calls for performing SMS/text messaging, thenduring the dynamic phase, emulation tests can include attempting todetermine whether the app attempts to send any SMS/text messaging and ifit does so with or without previously gaining the user's permission tosend SMS/text messages. Various other examples for leveraging a feedbackmechanism to enhance the efficiency and effectiveness of the phasedapproach should now be apparent to one of ordinary skill in the art inview of the various embodiments described herein.

For example, in the byte code analysis and decompilation phases, theplatform can determine that an individual app sends a text message viaseeing SMS APIs used. The platform can also feed this information to thedynamic analysis engine, so that the emulator can watch for the SMS tobe sent or can instrument the emulator to send the SMS text. Once theSMS is sent, the platform can record the number the SMS was sent to, andthe SMS message itself. At the collective intelligence phase, the SMSnumber monitored/detected by the dynamic engine can then be compared toa list of SMS numbers used in malware apps that communicate with paidSMS numbers (e.g., a common malware monetization scheme is to use suchpaid SMS numbers). If a match is found, then the platform can determinethat the app should be classified as malware and a report can beprovided showing all of the supporting data.

Various examples of app behaviors that impact app riskiness areprovided. For example, whether the app is determined to include malwareimpacts the app risk assessment. In particular, this includes both knownmalware (e.g., previously identified malware), repackaged malware, newmalware used in targeted attacks, and malware behavior.

As another example, whether the app accesses websites/URLs that areunsafe or associated with malware impacts the app risk assessment. Inparticular, apps that have been observed to download additional (e.g.,malicious) content from URLs associated with malware impacts the apprisk assessment.

As another example, the platform can apply its own URL “blacklists” orintegrate with third party URL blacklist feed providers.

As another example, whether the app accesses SMS numbers that are unsafeor associated with malware impacts the app risk assessment. Inparticular, a common malware technique is to subscribe a user to an SMSservice that will try to steal user data (e.g., phishing attacks).

As another example, whether the app access SMS numbers that areassociated with premium (paid) services impacts the app risk assessment.In particular, a common malware technique is to subscribe a user to apremium SMS service, hiding the actual messages from the user butaccruing charges (e.g., certain mal-behaving apps can attempt togenerate a monetary return for the app developer by sending unauthorizedSMS messages, such as using known bad SMS numbers).

As another example, whether the app performs unrequested behaviors(e.g., a mass text to a whole address book, a mass email to a wholeaddress book, an audio or video recording) impacts the app riskassessment.

As another example, what permissions does the app request can beanalyzed to determine whether such behavior impacts the app riskassessment (e.g., how do these compare to the average permission count).In particular, malware authors usually take advantage of the difficultto interpret permissions and hide risky behaviors among benign ones tosneak past the user's review process.

As another example, the source of the app (e.g., which market did theapp come from) can be analyzed to determine whether such impacts the apprisk assessment. In particular, some app markets (e.g., app markets inChina and Russia) are known to include higher amounts of malware.

As another example, the developer of the app (e.g., which developerdeveloped the app) can be analyzed to determine whether such impacts theapp risk assessment. In particular, some app developers are known fordelivering malware or risky apps in the past while others have betterreputations.

As another example, the available market data of the app (e.g., apprating, number of downloads, developer's reputation) can be analyzed todetermine whether such impacts the app risk assessment.

As another example, whether the app transmits information in clear-text(e.g., without encryption) can be analyzed to determine whether suchimpacts the app risk assessment.

As another example, whether the app uses encryption for all of itsexternal communication can be analyzed to determine whether such impactsthe app risk assessment. In particular, what type of encryption is usedand whether the encryption was implemented correctly can be used forsuch app risk assessment.

As another example, whether the app transmits account user nameinformation (e.g., with or without user permission, and with or withoutencryption) can be analyzed to determine whether such impacts the apprisk assessment.

As another example, whether the app transmits account passwordinformation (e.g., with or without user permission, and with or withoutencryption) can be analyzed to determine whether such impacts the apprisk assessment.

As another example, whether the app locally stores account user nameinformation (e.g., with or without user permission, and with or withoutencryption) can be analyzed to determine whether such impacts the apprisk assessment.

As another example, whether the app locally stores account passwordinformation (e.g., with or without user permission, and with or withoutencryption) can be analyzed to determine whether such impacts the apprisk assessment.

As another example, whether the app tracks location information (e.g.,with or without user permission, and with or without encryption) can beanalyzed to determine whether such impacts the app risk assessment. Inparticular, if the app tracks location information, how does the apptrack the location (e.g., does the app location track using GPS, usingcell tower triangulation, using GeoIP such as using official APIs orusing unofficial APIs).

As another example, whether the app attempts to uniquely identify theuser of the mobile device can be analyzed to determine whether suchimpacts the app risk assessment.

As another example, whether the app shares address book or contactinformation (e.g., with or without user permission, and with or withoutencryption) can be analyzed to determine whether such impacts the apprisk assessment.

As another example, whether the app includes voice recordingcapabilities/functions can be analyzed to determine whether such impactsthe app risk assessment.

As another example, whether the app includes picture and/or videorecording capabilities/functions can be analyzed to determine whethersuch impacts the app risk assessment.

As another example, whether the app reads/writes to removable storage(e.g., a compact flash card or other types of removable storage) can beanalyzed to determine whether such impacts the app risk assessment.

As another example, whether the app performs good behavior(s) (e.g.,adding secondary Digital Rights Management (DRM) to protect the appand/or added Virtual Private Network (VPN) support for securecommunications) can be analyzed to determine whether such impacts theapp risk assessment, in which such good behaviors can be used to improvethe scoring of the app's risk assessment.

As another example, an app can be blacklisted (e.g., by the platformand/or by a particular enterprise/customer that can identify apps to beblacklisted so that such are not available in the enterprise app store).For example, if a particular app is blacklisted, such as Dropbox (e.g.,or another app), then the platform can block any apps that matchDropbox. Also, the platform can also be configured to dynamically extendthis rule for blocking Dropbox to also block any apps that use Dropboxbased on static analysis, dynamic analysis, and/or other behavior-basedanalysis and monitoring (e.g., determining which apps use or incorporatethe Dropbox SDK, apps that include calls to URLs to Dropbox, etc.).

In some embodiments, an app risk assessment report is generated based onthe risk assessment for an analyzed app, such as using the phase-basedanalysis discussed above. In some embodiments, the app risk assessmentreport includes various risks and weights per app. In some embodiments,the app risk assessment report can be customized for an enterprise, suchas based on an enterprise's custom app risk profile and/or enterprise'scustom report profile. For example, a particular enterprise, such as aFortune 500 company can configure a custom app risk profile that greylists an app if an iOS app does not use standard Apple terms andconditions (e.g., so that inside legal counsel for a Fortune 500 companycan be notified of such app to review their custom terms and conditionsto determine whether such are acceptable for use by their employeesbased on those unique terms and conditions).

FIG. 3 is another functional block diagram of an architecture forquantifying the risks of apps for mobile devices in accordance with someembodiments. As shown, a cloud-based platform for quantifying the risksof apps for mobile devices 302 is provided. The platform 302 includesone or more processors 304. In some embodiments, the platform isimplemented as a plurality of servers, appliances, virtual machines,and/or combinations thereof. In some embodiments, the platform performsthe functions as described above with respect to FIGS. 1 and 2.

As also shown, the platform 302 includes a global app cache 306 forstoring previously analyzed apps. The platform 302 also includespolicies 310. For example, policies 310 can include various policies forscanning apps for risk assessment (e.g., security policies, privacypolicies, device/network integrity policies, etc.). The policies 310 canalso include enterprise specific or custom policies, such as custompolicies for an enterprise customer 320 (e.g., ACME Corporation), whichhas an enterprise app store 322 and is in communication with theplatform 302 via the Internet 318 as shown. In particular, an authorizeduser of the enterprise customer (e.g., a corporate IT security admin ofACME Corporation) can access the platform 302 using a device 324 via theInternet 318 (e.g., by securely logging in through a web site, accessedvia a URL, such as shown). For example, the authorized user (e.g., acorporate IT team member of ACME Corporation) can configure custompolicies, request reports (e.g., individual app reports, bulk appreports, etc.), and/or manage their enterprise account. As also shown,the platform 302 includes various rules 308 for performing variousanalysis on apps, such as described above with respect to FIG. 2. Forexample, rules 308 can include various rules (e.g., data and/orexecutable instructions) that can be processed by the various engines,such as shown in FIG. 1, and applied to perform various app analysisbased on an app risk profile, such as implementing the various phasesdiscussed above with respect to FIG. 2.

As also shown, the platform 302 includes a reports data store 312 (e.g.,database) for storing reports generated by the platform based onanalysis of apps for various users or customers, such as enterprisecustomer 320. For example, various reports based on apps analysis forACME Corporation's enterprise app store 322 can be stored in the reportsdata store. Various reports based on app analysis for other customers orusers can also be stored in the reports data store.

FIG. 4 is a screen diagram of an apps view of a user interface for aplatform for quantifying risks of apps for mobile devices in accordancewith some embodiments. As shown, the apps view 402 lists various appsthat have been analyzed including indicating a star rating for each ofthe apps, a description of each of the apps, a version of each of theapps, a type for each of the apps, categories for each of the apps, anda date/time for a last upload (e.g., time stamp for when the app waslast uploaded to the platform for analysis). As also shown, there arevarious selectable actions under each, such as Details, Ratings, Edit,and Delete. As also shown, the user interface for the platform includesdifferent views, such as for applications (e.g., as shown in 402, users,groups, categories, settings, reports, Ideas, and My Account).

FIG. 5 is a screen diagram of a detailed report for an app analyzed bythe platform for quantifying the risks of apps for mobile devices inaccordance with some embodiments. In some embodiments, the detailedreport 502 is generated by the platform for quantifying risks of appsfor mobile devices and can be accessed using a web browser. As shown,the detailed report 502 provides the output of a report generated for an“Actions” app for an iOS phone/tablet, which has been analyzed by theplatform and includes a star rating for the app (e.g., 4 stars asshown), with selectable tabs that include Details, Rating, andInspection. As shown, the Inspection tab is selected and shows thedetails of the Inspection Report (e.g., reporting a total score of87/100, including detailed scores for malware behaviors of 100/100,privacy behaviors of 84/100, and risky behaviors of 91/100. As alsoshown, a summary section is provided, a risky behaviors section isprovided, a privacy behaviors section is provided, and a hostname and IPaddresses section are provided (e.g., listing reputation information forhostnames and IP addresses that are visited/associated with this app).As would be apparent to one of ordinary skill in the art in view of thevarious embodiments described herein, various other details and reportformat and details/information can be provided based on the analysisperformed by the platform for quantifying risks of apps for mobiledevices as described herein, including based on various user definedcustomizations (e.g., enterprise customized reporting).

FIG. 6 is a flow diagram for quantifying the risks of apps for mobiledevices in accordance with some embodiments. At 602, an application fora mobile device is received. At 604, an automated analysis of theapplication based on a risk profile (e.g., using a cloud-based app riskassessment platform/service) is performed. At 606, generating a riskscore based on the automated analysis of the application based on therisk profile is performed.

FIG. 7 is another flow diagram for quantifying the risks of apps formobile devices in accordance with some embodiments. At 702, a set ofapps for an enterprise app store are received. At 704, an automatedanalysis of each of the apps (e.g., of the set of apps) based on anenterprise risk profile is performed. At 706, determining an app riskscore for each of the apps (e.g., of the set of apps) based on theenterprise risk profile is performed. At 708, reporting the app riskscores for each of the apps (e.g., of the set of apps) based on theenterprise risk profile is performed.

For example, using the various techniques described herein, quantifyingthe risks of apps for mobile devices can be provided by leveragingvarious mobile application management (MAM) solutions (e.g., enterpriseapp stores). In particular, MAM solutions, also called “enterprise appstores” store app metadata as well. For example, an enterprise app store(e.g., enterprise app store 118 as shown in FIG. 1) can include or beimplemented using a commercially available MAM solution. Examplecommercially available MAM products in the market today include thosesold by Apperian, AppCentral, and other commercial vendors. The typicalenterprise app store today has approximately 10 to 50 or more appsinside of it. For example, these apps can be “in-house apps,” which areenterprise line of business (LOB) applications for performing a specifictask or apps for which the enterprise wants all employees to have accessto for installing on their mobile devices (e.g., a sales related app forits sales personnel, and/or other types of apps for all or particularcategories of users). In some embodiments, the platform for quantifyingthe risks of apps for mobile devices similarly supports receiving suchstore app metadata (e.g., using a bulk query) to identify which apps inthe enterprise app store violate a policy (e.g., a malware policy, anenterprise policy, and/or another mobile app policy) using similartechniques as described herein with respect to various embodiments.

Although the foregoing embodiments have been described in some detailfor purposes of clarity of understanding, the invention is not limitedto the details provided. There are many alternative ways of implementingthe invention. The disclosed embodiments are illustrative and notrestrictive.

What is claimed is:
 1. (canceled)
 2. A system for quantifying risks ofapplications (“apps”) for mobile devices, comprising: a processorconfigured to: receive an application for a mobile device; perform anautomated analysis of the application based on a risk profile, whereinperform the automated analysis of the application based on the riskprofile includes: perform a dynamic analysis on the application based onthe risk profile, wherein perform the dynamic analysis includessimulating a plurality of behaviors of the application during executionon a mobile device platform, wherein the dynamic analysis on theapplication is a run-time emulation performed using an instrumentedemulation environment; generate a risk score based on the automatedanalysis of the application based on the risk profile; and perform anaction based on the risk score, wherein perform the action based on therisk score includes: report the risk score, generate a report for theapplication including the risk score, send a notification related to theapplication based on the risk score, block the application based on therisk score, or any combination thereof; and a memory coupled to theprocessor and configured to provide the processor with instructions. 3.The system recited in claim 2, wherein simulating the plurality ofbehaviors of the application during execution on the mobile deviceplatform includes performing an operation without user permission. 4.The system recited in claim 2, wherein simulating the plurality ofbehaviors of the application during execution on the mobile deviceplatform includes performing an SMS operation without user permission.5. The system recited in claim 2, wherein the processor is furtherconfigured to: monitor internal and external API calls during thedynamic analysis.
 6. The system recited in claim 2, wherein theprocessor is further configured to: monitor internal and external APIcalls, including kernel level API calls, during the dynamic analysis. 7.The system recited in claim 2, wherein the processor is furtherconfigured to: monitor calls to URLs during the dynamic analysis.
 8. Thesystem recited in claim 2, wherein the processor is further configuredto: perform a static analysis on the application during the automatedanalysis of the application based on the risk profile.
 9. The systemrecited in claim 2, wherein the processor is further configured to:perform a static analysis on the application during the automatedanalysis of the application based on the risk profile, whereininformation determined from the static analysis is provided as input tothe dynamic analysis.
 10. The system recited in claim 2, wherein theprocessor is further configured to: perform a comparison with collectiveapp intelligence to determine an app reputation based on a URL and IPreputation during the automated analysis of the application based on therisk profile, wherein the risk score is based on the dynamic analysis,the app reputation, or any combination thereof.
 11. The system recitedin claim 2, wherein the processor is further configured to: query publicapplication market data relating to the application, the publicapplication market data including an application description, anapplication ranking in a store, a vendor reputation of the application,or any combination thereof.
 12. The system recited in claim 2, whereinthe processor is further configured to: extract metadata associated withthe application, the metadata comprising application permissions, fileand version name, author of the application, application ID, packagename, or any combination thereof; and query public application marketdata relating to the application based on the extracted metadataassociated with the application to determine whether the application hasbeen repackaged with malware.
 13. The system recited in claim 2, whereinthe risk profile is based on an enterprise policy that includes customrules for scanning of apps based on security requirements to determinewhether the application includes previously known malware, exhibits newmalware behaviors, poses a privacy or security risk, or any combinationthereof.
 14. The system recited in claim 2, wherein the processor isfurther configured to: customize the risk score based on a customizedrisk scoring profile, wherein the customized risk scoring profileincludes an enterprise-based customization.
 15. The system recited inclaim 2, wherein the processor is further configured to: determinewhether the application is in violation of an enterprise policy, whereinthe enterprise policy includes a malware policy for apps that includescustom rules for scanning of apps based on security requirements todetermine whether the application includes previously known malware,exhibits new malware behaviors, poses a privacy or security risk, or anycombination thereof.
 16. The system recited in claim 2, wherein theprocessor is further configured to: generate an enterprise risk scorebased on an enterprise risk profile; and perform an action based on theenterprise risk score, wherein perform the action based on theenterprise risk score includes: report the enterprise risk score,generate an enterprise report for the application including theenterprise risk score, send a notification related to the applicationbased on the enterprise risk score, block the application based on theenterprise risk score, or any combination thereof.
 17. The systemrecited in claim 2 wherein the processor is further configured to:perform a pre-screening phase that includes checking an applicationcache, wherein the application cache includes previously determined riskscores for previously analyzed apps that are available from a public appstore.
 18. The system recited in claim 2 wherein the processor isfurther configured to: perform a pre-screening phase that includeschecking an application cache, wherein the application cache includespreviously determined risk scores for previously analyzed apps that areavailable from a public app store, wherein checking the applicationcache includes: determine whether the application has been previouslyanalyzed; and in the event that the application has been previouslyanalyzed, determine whether to return the previously determined riskscore of the application.
 19. A method of quantifying risks ofapplications (“apps”) for mobile devices, comprising: receiving anapplication for a mobile device; performing an automated analysis of theapplication based on a risk profile using a processor, whereinperforming the automated analysis of the application based on the riskprofile includes: performing a dynamic analysis on the application basedon the risk profile, wherein performing the dynamic analysis includessimulating a plurality of behaviors of the application during executionon a mobile device platform, wherein the dynamic analysis on theapplication is a run-time emulation performed using an instrumentedemulation environment; generating a risk score based on the automatedanalysis of the application based on the risk profile; and performing anaction based on the risk score, wherein performing the action based onthe risk score includes: reporting the risk score, generating a reportfor the application including the risk score, sending a notificationrelated to the application based on the risk score, blocking theapplication based on the risk score, or any combination thereof.
 20. Themethod of claim 19, wherein simulating the plurality of behaviors of theapplication during execution on the mobile device platform includesperforming an operation without user permission.
 21. The method of claim19, further comprising: monitoring internal and external API callsduring the dynamic analysis.
 22. The method of claim 19, furthercomprising: monitoring calls to URLs during the dynamic analysis. 23.The method of claim 19, further comprising: performing a static analysison the application during the automated analysis of the applicationbased on the risk profile, wherein information determined from thestatic analysis is provided as input to the dynamic analysis.
 24. Acomputer program product for quantifying risks of applications (“apps”)for mobile devices, the computer program product being embodied in anon-transitory computer readable storage medium and comprising computerinstructions for: receiving an application for a mobile device;performing an automated analysis of the application based on a riskprofile, wherein performing the automated analysis of the applicationbased on the risk profile includes: performing a dynamic analysis on theapplication based on the risk profile, wherein performing the dynamicanalysis includes simulating a plurality of behaviors of the applicationduring execution on a mobile device platform, wherein the dynamicanalysis on the application is a run-time emulation performed using aninstrumented emulation environment; generating a risk score based on theautomated analysis of the application based on the risk profile; andperforming an action based on the risk score, wherein performing theaction based on the risk score includes: reporting the risk score,generating a report for the application including the risk score,sending a notification related to the application based on the riskscore, blocking the application based on the risk score, or anycombination thereof.
 25. The computer program product recited in claim24, wherein simulating the plurality of behaviors of the applicationduring execution on the mobile device platform includes performing anoperation without user permission.
 26. The computer program productrecited in claim 24, further comprising computer instructions for:monitoring internal and external API calls during the dynamic analysis.27. The computer program product recited in claim 24, further comprisingcomputer instructions for: monitoring calls to URLs during the dynamicanalysis.
 28. The computer program product recited in claim 24, furthercomprising computer instructions for: performing a static analysis onthe application during the automated analysis of the application basedon the risk profile, wherein information determined from the staticanalysis is provided as input to the dynamic analysis.